export const getGraphic = (data) => [
  {
    type: 'group',
    right: 'center',
    bottom: 'middle',
    children: [
      {
        type: 'image',
        left: 'center',
        top: -120,
        silent: true,
        invisible: data?.length > 0,
        style: {
          image:
          '',
          width: 224,
          height: 108
        }
      },
      {
        type: 'text',
        left: 'center',
        silent: true,
        invisible: data?.length > 0,
        style: {
          fill: window?.theme?.chart?.text,
          text: '暂无数据',
          fontSize: '12px'
        }
      }
    ]
  }

]